import request from '@/utils/request'

// 查询存款结构列表
export function listCkjglsb(query) {
  return request({
    url: '/buss/reportLsb/ckjg',
    method: 'get',
    params: query
  })
}

// 查询存款结构详细
export function getCkjglsb(sjrq) {
  return request({
    url: '/buss/ckjglsb/' + sjrq,
    method: 'get'
  })
}

// 新增存款结构
export function addCkjglsb(data) {
  return request({
    url: '/buss/ckjglsb',
    method: 'post',
    data: data
  })
}

// 修改存款结构
export function updateCkjglsb(data) {
  return request({
    url: '/buss/ckjglsb',
    method: 'put',
    data: data
  })
}

// 删除存款结构
export function delCkjglsb(sjrq) {
  return request({
    url: '/buss/ckjglsb/' + sjrq,
    method: 'delete'
  })
}
